From ba85ab2b65e3bee2a631699f5b37ee3b50635dc9 Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Sun, 14 Jun 2026 10:12:01 +0200 Subject: [PATCH] ubuntu-questing commit 112ffe7c621e8bf145c5c5926e36f3af9e0fd045 Author: Sylvestre Ledru Date: Tue Apr 22 11:50:58 2025 +0200 Add support of the next Ubuntu (Ubuntu 25.10 - Questing Quokka) Gbp-Pq: Name ubuntu-questing.patch --- clang/include/clang/Driver/Distro.h | 3 ++- clang/lib/Driver/Distro.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/clang/include/clang/Driver/Distro.h b/clang/include/clang/Driver/Distro.h index b4d485dac8..9f27c2baae 100644 --- a/clang/include/clang/Driver/Distro.h +++ b/clang/include/clang/Driver/Distro.h @@ -81,6 +81,7 @@ public: UbuntuNoble, UbuntuOracular, UbuntuPlucky, + UbuntuQuesting, UnknownDistro }; @@ -132,7 +133,7 @@ public: } bool IsUbuntu() const { - return DistroVal >= UbuntuHardy && DistroVal <= UbuntuPlucky; + return DistroVal >= UbuntuHardy && DistroVal <= UbuntuQuesting; } bool IsAlpineLinux() const { return DistroVal == AlpineLinux; } diff --git a/clang/lib/Driver/Distro.cpp b/clang/lib/Driver/Distro.cpp index 3d1bce027f..2a35fd033d 100644 --- a/clang/lib/Driver/Distro.cpp +++ b/clang/lib/Driver/Distro.cpp @@ -97,6 +97,7 @@ static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) { .Case("noble", Distro::UbuntuNoble) .Case("oracular", Distro::UbuntuOracular) .Case("plucky", Distro::UbuntuPlucky) + .Case("questing", Distro::UbuntuQuesting) .Default(Distro::UnknownDistro); return Version; } -- 2.30.2